﻿/* EXTERNAL SCROLLS */

.external-scroll_x, .external-scroll_y {
    background-color:#fff;
    cursor: pointer;
    display: block;
    position: absolute;
}

.external-scroll_x {
    display:none;
    bottom: -15px;
    height: 10px;
    left: 0;
    max-width: 200px;
}

.external-scroll_y {
    right: 5px;
    max-height: 260px;
    top: 20px;
    width: 2px;
}

.external-scroll_x div,
.external-scroll_y div
{
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.external-scroll_x .scroll-bar,
.external-scroll_y .scroll-bar {
    background: #7e0008;
    z-index: 12;
}

.external-scroll_x .scroll-bar {
    width: 100px;
}
.external-scroll_y .scroll-bar {
    height: 100px;width:10px;left:-4px;
    background-color:#fff;
}











/*************** SCROLLBAR DEFAULTS ***************/

.scroll-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    position: relative;
}

.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box !important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto !important;
}

.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}

.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: pointer;
}

















/******************* STANDARD SCROLL *******************/

.scroll-standard > .scroll-content.scroll-scrolly_show { left: -17px; margin-left: 17px; }
.scroll-standard > .scroll-content.scroll-scrollx_show { top:  -17px; margin-top:  17px; }


.scroll-standard > .scroll-element {
    background-color: #fcfdff;
}

.scroll-standard > .scroll-element,
.scroll-standard > .scroll-element div
{
    border: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scroll-standard > .scroll-element .scroll-element_outer,
.scroll-standard > .scroll-element .scroll-element_size,
.scroll-standard > .scroll-element .scroll-element_inner-wrapper,
.scroll-standard > .scroll-element .scroll-element_inner,
.scroll-standard > .scroll-element .scroll-bar,
.scroll-standard > .scroll-element .scroll-bar div
{
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.scroll-standard > .scroll-element .scroll-element_outer,
.scroll-standard > .scroll-element .scroll-element_size,
.scroll-standard > .scroll-element .scroll-element_inner-wrapper,
.scroll-standard > .scroll-element .scroll-bar_body
{
    background: none !important;
}


.scroll-standard > .scroll-element.scroll-x {
    border-top: solid 1px #fcfdff;
    bottom: 0;
    height: 16px;
    left: 0;
    min-width: 100%;
    width: 100%;
}

.scroll-standard > .scroll-element.scroll-y {
    border-left: solid 1px #fcfdff;
    height: 100%;
    min-height: 100%;
    right: 0;
    top: 0;
    width: 16px;
}

.scroll-standard > .scroll-element.scroll-x div {
    background-image: url('vista-x.png');
    background-repeat: repeat-x;
}

.scroll-standard > .scroll-element.scroll-y div {
    background-image: url('vista-y.png');
    background-repeat: repeat-y;
}

.scroll-standard > .scroll-element.scroll-x .scroll-arrow {}

.scroll-standard > .scroll-element.scroll-x .scroll-bar { min-width: 16px; background-position: 0px -34px; background-repeat: no-repeat; }
.scroll-standard > .scroll-element.scroll-x .scroll-bar_body { left: 2px; }
.scroll-standard > .scroll-element.scroll-x .scroll-bar_body-inner { left: -4px; background-position: 0px -17px; }
.scroll-standard > .scroll-element.scroll-x .scroll-bar_center { left: 50%; margin-left: -6px; width: 12px; background-position: 24px -34px; }
.scroll-standard > .scroll-element.scroll-x .scroll-bar_bottom { left: auto; right: 0; width: 2px; background-position: 37px -34px; }


.scroll-standard > .scroll-element.scroll-y .scroll-bar { min-height: 16px; background-position: -34px 0px; background-repeat: no-repeat; }
.scroll-standard > .scroll-element.scroll-y .scroll-bar_body { top: 2px; }
.scroll-standard > .scroll-element.scroll-y .scroll-bar_body-inner { top: -4px; background-position: -17px 0px; }
.scroll-standard > .scroll-element.scroll-y .scroll-bar_center { top: 50%; margin-top: -6px; height: 12px; background-position: -34px 24px; }
.scroll-standard > .scroll-element.scroll-y .scroll-bar_bottom { top: auto; bottom: 0; height: 2px; background-position: -34px 37px; }



/* SCROLL ARROWS */

.scroll-standard > .scroll-element .scroll-arrow { display: none; }
.scroll-standard > .scroll-element.scroll-element_show-arrows .scroll-arrow { display: block; z-index: 12; }


.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows .scroll-arrow_less { height: 100%; width: 17px; background-position: 0px -51px;}
.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows .scroll-arrow_more { height: 100%; left: auto; right: 0; width: 17px; background-position: 17px -51px;}

.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows .scroll-element_outer { left: 17px; }
.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows .scroll-element_inner { left: -34px; }
.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows .scroll-element_size { left: -34px; }


.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows .scroll-arrow_less { width: 100%; height: 17px; background-position: -51px 0px;}
.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows .scroll-arrow_more { width: 100%; top: auto; bottom: 0; height: 17px; background-position: -51px 17px;}

.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows .scroll-element_outer { top: 17px; }
.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows .scroll-element_inner { top: -34px; }
.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows .scroll-element_size { top: -34px; }


/* PROCEED OFFSET IF ANOTHER SCROLL VISIBLE */

.scroll-standard > .scroll-element.scroll-x.scroll-scrolly_show .scroll-element_size { left: -17px; }
.scroll-standard > .scroll-element.scroll-y.scroll-scrollx_show .scroll-element_size { top: -17px; }

.scroll-standard > .scroll-element.scroll-x.scroll-scrolly_show .scroll-element_inner { left: -17px; }
.scroll-standard > .scroll-element.scroll-y.scroll-scrollx_show .scroll-element_inner { top: -17px; }




/* PROCEED OFFSET IF ARROWS & ANOTHER SCROLL */

.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows.scroll-scrolly_show .scroll-arrow_more { right: 17px;}
.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows.scroll-scrolly_show .scroll-element_inner { left: -51px;}
.scroll-standard > .scroll-element.scroll-x.scroll-element_show-arrows.scroll-scrolly_show .scroll-element_size { left: -51px;}


.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows.scroll-scrollx_show .scroll-arrow_more { bottom: 17px;}
.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows.scroll-scrollx_show .scroll-element_inner { top: -51px;}
.scroll-standard > .scroll-element.scroll-y.scroll-element_show-arrows.scroll-scrollx_show .scroll-element_size { top: -51px;}














/******************* SIMPLE OUTER SCROLL *******************/

.scroll-simple_outer > .scroll-content.scroll-scrolly_show { left: -12px; margin-left: 12px; }
.scroll-simple_outer > .scroll-content.scroll-scrollx_show { top:  -12px; margin-top:  12px; }

.scroll-simple_outer > .scroll-element,
.scroll-simple_outer > .scroll-element div
{
    border: none;
    display: block;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scroll-simple_outer > .scroll-element {
    background-color: #fcfdff;
}

.scroll-simple_outer > .scroll-element div {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}


.scroll-simple_outer > .scroll-element.scroll-x {
    bottom: 0;
    height: 12px;
    left: 0;
    min-width: 100%;
    width: 100%;
}

.scroll-simple_outer > .scroll-element.scroll-y {
    height: 100%;
    min-height: 100%;
    right: 0;
    top: 0;
    width: 12px;
}

.scroll-simple_outer > .scroll-element .scroll-bar {
    background-color: #9999fc;
}

.scroll-simple_outer > .scroll-element.scroll-x .scroll-bar { top: 1px; height: 10px;}
.scroll-simple_outer > .scroll-element.scroll-y .scroll-bar { left: 1px; width: 10px;}


/* PROCEED OFFSET IF ANOTHER SCROLL VISIBLE */

.scroll-simple_outer > .scroll-element.scroll-x.scroll-scrolly_show .scroll-element_size { left: -12px; }
.scroll-simple_outer > .scroll-element.scroll-y.scroll-scrollx_show .scroll-element_size { top: -12px; }

.scroll-simple_outer > .scroll-element.scroll-x.scroll-scrolly_show .scroll-element_inner { left: -12px; }
.scroll-simple_outer > .scroll-element.scroll-y.scroll-scrollx_show .scroll-element_inner { top: -12px; }



/* HOVER & DRAG STYLES */
.scroll-simple_outer > .scroll-element .scroll-bar:hover { background-color: #03a4d8; }
.scroll-simple_outer > .scroll-element.scroll-draggable .scroll-bar { background-color: #FFa2ff; }























/******************* SIMPLE INNER SCROLL *******************/

.scroll-simple_inner > .scroll-element,
.scroll-simple_inner > .scroll-element div
{
    background: none;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scroll-simple_inner > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.scroll-simple_inner > .scroll-element .scroll-element_inner {
    display: none;
}

.scroll-simple_inner > .scroll-element .scroll-bar {
    background-color: #9999fc;
    display: none;
}

.scroll-simple_inner:hover > .scroll-element .scroll-bar {
    display: block;
}

.scroll-simple_inner > .scroll-element.scroll-draggable .scroll-bar {
    display: block;
}


.scroll-simple_inner > .scroll-element.scroll-x {
    bottom: 0px;
    height: 0px;
    left: 0;
    min-width: 100%;
    overflow: visible;
    width: 100%;
}

.scroll-simple_inner > .scroll-element.scroll-y {
    height: 100%;
    min-height: 100%;
    right: 0px;
    top: 0;
    width: 0px;
}

.scroll-simple_inner > .scroll-element.scroll-x .scroll-bar {
    height: 10px;
    top: -14px;
}

.scroll-simple_inner > .scroll-element.scroll-y .scroll-bar {
    left: -14px;
    width: 10px;
}

.scroll-simple_inner > .scroll-element.scroll-x .scroll-bar { top: -14px; }
.scroll-simple_inner > .scroll-element.scroll-y .scroll-bar { left: -14px; }

.scroll-simple_inner > .scroll-element.scroll-x .scroll-element_outer { left: 4px; }
.scroll-simple_inner > .scroll-element.scroll-x .scroll-element_size { left: -8px; }

.scroll-simple_inner > .scroll-element.scroll-y .scroll-element_outer { top: 4px; }
.scroll-simple_inner > .scroll-element.scroll-y .scroll-element_size { top: -8px; }


/* PROCEED OFFSET IF ANOTHER SCROLL VISIBLE */

.scroll-simple_inner > .scroll-element.scroll-x.scroll-scrolly_show .scroll-element_size { left: -22px; }
.scroll-simple_inner > .scroll-element.scroll-y.scroll-scrollx_show .scroll-element_size { top: -22px; }




